<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@include file="/white/common/taglibs.jsp"%>

<c:set var="ctx" value="${pageContext.request.contextPath}" />
<%
	String theme = getServletContext().getInitParameter("white-theme");
	String loginName = request.getUserPrincipal().getName();
%>

<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

		<title>header</title>
		<link href="${ctx}/white/theme/<%=theme%>/css/header_footer.css"
			rel="stylesheet" type="text/css" />
		<link href="${ctx}/white/theme/<%=theme%>/css/commen_0.css"
			rel="stylesheet" type="text/css" />

		<script type="text/javascript">
<!--
        function setUserNavigator(){
            top.navigatorFrame.moduleSpanId.innerText = "->个人资料修改";
            top.navigatorFrame.funSpanId.innerText = "";
        }
    
    
        
        function navigateToSp(){
            var spForm = document.getElementById("spForm");

            var sp=document.getElementById("spId");
            var spId=sp.value;
            spForm.action = "${ctx}/loginServlet?j_spId="+spId;
            spForm.submit();
        }
        
        function setFirstNavigator(){
            top.navigatorFrame.moduleSpanId.innerText = "";
            top.navigatorFrame.funSpanId.innerText = "";
        }
        
        //-->
    </script>


	</head>

	<body oncontextmenu="return false"
		background="${ctx}/white/theme/<%=theme%>/images/banner_bg.jpg">

		<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
			<TBODY>
				<TR>
					<TD background="${ctx}/white/theme/<%=theme%>/white_header.png"
						height="55" width="100%">						
						<table width="100%" border="0" align="center" cellpadding="0"
							cellspacing="0">
							<tr>
								<td width="20%"align="left" class="fla_e">
									<img src="${ctx}/white/theme/<%=theme%>/white_logo.png"
										width="450" height="52" border="0" />
								</td>
								<td width="80%" align="right" class="fla_e" style="margin-right: 20px;">
									当前用户：<%=loginName%>	&nbsp;&nbsp;									
								</td>
							</tr>
						</table>

					</TD>
				</TR>
				<TR>
					<table width="100%" height="30" border="0" cellpadding="0"
						cellspacing="0"
						background="${ctx}/white/theme/<%=theme%>/images/loing_bg.jpg">
						<tr>
							<td height="30px;">
								&nbsp;&nbsp;
								<a href="${ctx}/white/AppMain.jsp" target="_top">首页</a> &nbsp;
								<span id="moduleSpanId"></span><span id="funSpanId"></span>
							</td>
							<td
								background="${ctx}/white/theme/<%=theme%>/images/loing_bg.jpg">
								<table width="97%" border="0" align="center" cellpadding="0"
									cellspacing="0">
									<tr>
										<td width="90%" align="right">
											<a
												href="<%=request.getContextPath()%>/userAction!toChangePassword.action"
												target="main"> <img
													src="${ctx}/white/theme/<%=theme%>/images/mima.jpg"
													width="66" height="19" border="0" />
											</a>
											<a
												href="<%=request.getContextPath()%>/j_spring_security_logout"
												class="link_1" target="_parent"> <img
													src="${ctx}/white/theme/<%=theme%>/images/tuichu.jpg"
													width="69" height="19" border="0" />
											</a>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>

				</TR>
			</TBODY>
		</TABLE>
	</body>
</html>